home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Reference Guide / C-C++ Interactive Reference Guide.iso / c_ref / csource2 / sclib_1 / 1_2 / v7n2030a.txt < prev    next >
Encoding:
Text File  |  1995-11-01  |  391 b   |  16 lines

  1. /*
  2.  *  chclass.h - CHaracter CLASSification definitions.
  3.  */
  4.  
  5. #define _CCID1_     (0x01)
  6. #define _CCID_      (0x02)
  7. #define _CCEXP_     (0x04)
  8. #define _CCSIGN_    (0x08)
  9.  
  10. extern  char    _cctable[];
  11.  
  12. #define isid1(c)    (_cctable[c] & _CCID1_)
  13. #define isid(c)     (_cctable[c] & _CCID_)
  14. #define isexp(c)    (_cctable[c] & _CCEXP_)
  15. #define issign(c)   (_cctable[c] & _CCSIGN_)
  16.